import axios from '@/api/fetch';
import SERVER from '@/api/server';


// 实销审批

// 审批 /vsSalesReport/auditReportDto
export const auditReportDto = (params) => axios.post(`${SERVER.RETAIL}/vsSalesReport/auditReportDto`, params)

// 列表查询 /vsSalesReport/searchRetailReportDataForAudit
export const queryList = (params) => axios.post(`${SERVER.RETAIL}/vsSalesReport/searchRetailReportDataForAudit`, params)

// 详情 /vsSalesReport/searchRetailOrderReportDataById
export const orderReportDataById = (Id) => axios.get(`${SERVER.RETAIL}/vsSalesReport/searchRetailOrderReportDataById?id=${Id}`)
// 资金账户类型
export const getFiAccountType = (params) => axios.post(`${SERVER.WHOLESALES}/tmFiAccountType/list`, params)
